﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace housingsafety.server.Models
{
    public class AuthenticateQrCodeDto
    {
        public QrCodeStatus Status { get; set; }

        public AuthenticateResponse Authenticate { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? ScanTime { get; set; }

        public DateTime? ConfirmTime { get; set; }

        public DateTime? CancelledTime { get; set; }
    }

    public enum QrCodeStatus
    {
        Cancelled,
        WaitScan,
        WaitConfirm,
        Timeout,
        Ok
    }
}
